package com.mzj.saas.mservice.lifePay.entity;


import com.mzj.saas.mservice.sys.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 缴费汇总记录表
 */

@Entity
@Table(name = "saas_living_payment_total")
public class LivingPaymentTotal extends IdEntity {

    /*
     *用户
     */
    @Column(name = "user_id", nullable = true)
    private String userId;
    /*
     *统计时间
     */
    @Column(name = "stat_date", nullable = true)
    private String statDate;
    /*
     *类型：1水费 2电费 3物业费 4宽带费 5电视费 6煤气费 7暖气费 8租金 9押金
     */
    @Column(name = "type", nullable = true)
    private Integer type;
    /*
     *缴费总金额
     */
    @Column(name = "total_amount", nullable = true)
    private Integer totalAmount;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getStatDate() {
        return statDate;
    }

    public void setStatDate(String statDate) {
        this.statDate = statDate;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Integer totalAmount) {
        this.totalAmount = totalAmount;
    }
}
